package cn.cmeizu.spring6.di;


import org.springframework.core.io.Resource;

/**
 * @author cmeizu
 * @date 2023/2/19 17:49
 */
public class ResourceBean {

  private Resource resource;

  public Resource getResource() {
    return resource;
  }

  public void setResource(Resource resource) {
    this.resource = resource;
  }

  public void parse() {
    System.out.println("resource.getFilename() = " + resource.getFilename());
    System.out.println("resource.getDescription() = " + resource.getDescription());
  }
}
